$OpenBSD: patch-plugins_musepack_Makefile_am,v 1.3 2014/09/23 13:44:03 dcoppa Exp $
--- plugins/musepack/Makefile.am.orig	Tue Sep 23 10:03:30 2014
+++ plugins/musepack/Makefile.am	Tue Sep 23 10:04:14 2014
@@ -2,30 +2,10 @@ if HAVE_MUSEPACK
 
 pkglib_LTLIBRARIES = musepack.la
 
-musepack_la_SOURCES = musepack.c\
-huffman.c\
-mpc_bits_reader.c\
-mpc_decoder.c\
-mpc_demux.c\
-mpc_reader.c\
-requant.c\
-streaminfo.c\
-synth_filter.c\
-crc32.c\
-decoder.h\
-huffman.h\
-internal.h\
-mpc_bits_reader.h\
-mpc/mpcdec.h\
-mpcdec_math.h\
-mpc/reader.h\
-requant.h\
-mpc/streaminfo.h\
-mpc/mpc_types.h\
-mpc/minimax.h
+musepack_la_SOURCES = musepack.c
 
 musepack_la_LDFLAGS = -module -avoid-version
-musepack_la_LIBADD = $(LDADD) -lm
+musepack_la_LIBADD = $(LDADD) -lm -lmpcdec
 
 AM_CFLAGS = $(CFLAGS) -fPIC -std=c99
 
